package global

const (
	ENCRYPTKEY_AES = "U2FsdGVkX19VtEQvCwGDwNBYqZjKv7tb"
	ENCRYPTKEY_RC4 = "Dfifc#2022%"
	//用户状态
	DICT_USER_APPROVED_STATUS     = "2" // 审批
	DICT_USER_NOT_APPROVED_STATUS = "1" // 未审批
	//疫情排查表填报状态
	DICT_INVESTIGATION_WRITE_STATUS_UNFILL = "2" // 未填
	DICT_INVESTIGATION_WRITE_STATUS_ALL    = "3" // 全部

	//员工涉疫状态
	DICT_INVESTIGATION_USER_STATUS_ENABLE   = "1" //正常
	DICT_INVESTIGATION_USER_STATUS_UNENABLE = "2" //异常

	//疫情排查状态
	DICT_INVESTIGATION_FORM_STATUS_OPEN   = "1" //打开
	DICT_INVESTIGATION_FORM_STATUS_Doing  = "2" //进行中
	DICT_INVESTIGATION_FORM_STATUS_Delete = "4" //删除

	DICT_ROLES_SUPER       = "3" //超级管理员
	DICT_ROLES_MANAGER     = "1" //超级管理员
	DICT_DVICE_TYPE_MOBILE = "1" // 设备类型-移动设备

	// 部门
	DEPARTMENT_BEIJING_DALIAN      = "19" // 北分（大连）
	DEPARTMENT_BEIJING             = "20" // 北分
	DEPARTMENT_QA                  = "6"  // 质控部
	DEPARTMENT_PROJECT_OUTSOURCING = "7"  // 项目外包（质控部统筹）
	DEPARTMENT_DATA_2              = "23" // 数据2.0项目
	DEPARTMENT_OFFICE_AUTOMATION   = "24" // 办公自动化项目
	DEPARTMENT_HIGH_MANAGER        = "22" // 高管

	// 定时任务
	CRONTAB_NOTIFY = "notify"
	// 自动通知
	AUTO_NOTIFY_START            = "start"
	AUTO_NOTIFY_STOP             = "stop"
	REDIS_KEY_AUTO_NOTIFY_STATUS = "auto_notify"

	// 数据统计类型
	DATA_STATISTICS_USER_INPOSITION       = "0" // 出勤员工列表
	DATA_STATISTICS_ATTENDANCE            = "1" // 出勤表
	DATA_STATISTICS_MANAGEMENT_INPOSITION = "2" // 中高层出勤表
	DATA_STATISTICS_MANAGEMENT_HOME       = "3" // 中高层居家表

	// 编制
	ORGANIZATION_OUTSOURCED = "3" // 外包

	// 标签
	LABEL_HIGH              = "高层"    // 高层
	LABEL_MIDDLE            = "中层"    // 中层
	LABLE_DEPARTMENT_LEADER = "部门负责人" // 部门负责人

	// 居家隔离类型
	ISOLUTION_NUCLEIC_ACID_POSITIVE = "1"
	ISOLUTION_ANTIGEN_POSITIVE      = "2"
	// 工作地
	LOCATION_DALIAN = "1"

	// staff_history同步模式
	SYNC_MODE_ADD    = 1
	SYNC_MODE_UPDATE = 2
	SYNC_MODE_DELETE = 3
)
